package com.contract.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.content.persistence.PlanTypeMapper;
import com.contract.model.PlanType;
import com.contract.service.PlanTypeService;

/**
 * 
 * @author tanglei
 *
 */
@Service
public class PlanTypeServiceImpl implements PlanTypeService 
{
    @Autowired
    PlanTypeMapper planTypeMapper;
    
    public List<PlanType> getPlanTypeA(Map map)
    {
       return  planTypeMapper.getPlanTypeA(map);
    }
    public List<PlanType> getPlanTypeB(Map map)
    {
        return planTypeMapper.getPlanTypeB(map);
    }
    public List<PlanType> getPlanTypeC(Map map)
    {
        return planTypeMapper.getPlanTypeC(map);
    }
	@Override
	public List<PlanType> queryPlanTypeA(Map<String, String> mapplanTypeAID) {
		return planTypeMapper.queryPlanTypeA(mapplanTypeAID);
	}
	@Override
	public List<PlanType> queryPlanTypeB(Map<String, String> mapplanTypeBID) {
		return planTypeMapper.queryPlanTypeB(mapplanTypeBID);
	}
	@Override
	public List<PlanType> queryPlanTypeC(Map<String, String> mapplanTypeCID) {
		return planTypeMapper.queryPlanTypeC(mapplanTypeCID);
	}
    
}
